package com.ulife.supplier.dao;

import java.sql.SQLException;
import java.util.List;

import com.ulife.supplier.dao.dataobject.SupplierDo;

public interface SupplierDao {
	void insertSupplier(SupplierDo supplierDo) throws SQLException;

	int deleteSupplier(Long sId) throws SQLException;

	int updateSupplier(SupplierDo supplierDo) throws SQLException;

	List<SupplierDo> queryAllSupplier() throws SQLException;
	
	SupplierDo querySupplierById(Long sId) throws SQLException ;

	List<SupplierDo> querySupplier(SupplierDo supplierDo) throws SQLException;
}
